package com.qianguo.buyer.entity;


import android.os.Parcel;
import android.os.Parcelable;

import com.alibaba.fastjson.annotation.JSONField;
import com.eva.androidlibrary.api.entity.BaseBean;

/**
 * @author guxun
 * @date 16/6/29
 */
public class OrderSN extends BaseBean implements Parcelable {

    @JSONField(name = "ordersn")
    private String ordersn;

    public String getOrdersn() {
        return ordersn;
    }

    public void setOrdersn(String ordersn) {
        this.ordersn = ordersn;
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(this.ordersn);
    }

    public OrderSN() {
    }

    protected OrderSN(Parcel in) {
        this.ordersn = in.readString();
    }

    public static final Creator<OrderSN> CREATOR = new Creator<OrderSN>() {
        @Override
        public OrderSN createFromParcel(Parcel source) {
            return new OrderSN(source);
        }

        @Override
        public OrderSN[] newArray(int size) {
            return new OrderSN[size];
        }
    };
}
